package cn.itsource.service;

import cn.itsource.domain.Driver;
import cn.itsource.domain.DriverSetting;
import cn.itsource.pojo.dto.PushOrder;
import cn.itsource.pojo.ro.DriverOnLineRo;
import cn.itsource.pojo.ro.GeoRo;
import cn.itsource.pojo.ro.WxRegisterRo;
import cn.itsource.result.JSONResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 司机对象 服务类
 * </p>
 *
 * @author zls
 * @since 2024-07-02
 */
public interface IDriverService extends IService<Driver> {

    JSONResult registerDriver(WxRegisterRo registerRo);

    DriverSetting online(DriverOnLineRo driverOnLineRo);

    void offLine();

    void geo(GeoRo geoRo);

    List<PushOrder> pullDriverOrder();
}
